stringify

abstract fun stringify(jsObject: JsObject): String

Converts the given JavaScript object into a JSON string.

Return

a JSON representation of the given JavaScript object

Parameters

jsObject

a JavaScript object to convert into a JSON string

Throws

when the given JavaScript object cannot be converted to a JSON string. For example, when a circular reference is found in the given JavaScript object